<?php
//URL: http://localhost/ChampChooser/core/services/player/playerListService.php
require_once ("../../config/config.php");
require_once ("../../config/constants.php");
require_once ("../../db/queries.php");
require_once ("../../common/common.php");

$filterString= $_REQUEST["filterString"];

function queryPlayers($filterString) {
	$strQuery = "select id,fname,lname,playerType,country,cost,points from player";
	return generateResultSet($strQuery);
}

makeQueryXML(queryPlayers($filterString));
?>